package com.company.project.service.impl;

import com.company.project.dao.NotificationMapper;
import com.company.project.model.Notification;
import com.company.project.service.NotificationService;
import com.company.project.core.AbstractService;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;


/**
 * Created by CodeGenerator on 2018/10/08.
 */
@Service
@Transactional
public class NotificationServiceImpl extends AbstractService<Notification> implements NotificationService {
    @Resource
    private NotificationMapper notificationMapper;

    @Override
    public Integer selectMessageQuantity(String name, String pwd) {
        return notificationMapper.selectMessageQuantity(name,pwd);
    }
}
